package com.pictavore.log

import com.google.inject.*
import com.pictavore.message.Messenger

/**
 *
 * @author caleb
 */
@Singleton
class Logger {
	@Inject
    Messenger messenger

    void info(String message) {
        messenger.send(LoggerMessage.INFO, this, message)
    }
    void error(String message) {
        messenger.send(LoggerMessage.ERROR, this, message)
    }
}

